package miku.firstgame.net.pack
{
	import miku.firstgame.constrants.ProtocalConstants;
	import miku.firstgame.net.ByteArrayEx;
	
	public class UserOfflineResponsePack extends AbstractReponsePack
	{
		public var userId:int;
		
		public function UserOfflineResponsePack(data:ByteArrayEx)
		{
			super(data);
		}
		
		override public function decode():void
		{
			super.decode();	
			data.position = 4;
			userId = data.readUnsignedInt();	
		}
		
		override public function get tag():int
		{
			return ProtocalConstants.USER_OFFLINE;
		}
	}
}